<template>
<div>
   <h1>H5editor</h1>
   <mt-button type="primary" @click="getContent">getContent</mt-button>
     <quill-editor 
      v-model="content" 
      :options="editorOption" 
      @change="onEditorChange($event)">
    </quill-editor>
</div>
</template>


<style>
</style>

<script>
export default{
   layout:'mobile',
   data(){
      return {
       content:null,
       editorOption:{}
      }
   },
   methods:{
      onEditorChange(){//内容改变事件
      },
      getContent(){
        alert(this.content)
      }
   }
}
</script>
